Revert "D-Bus system tray: properly check whether StatusNotifierHost available"
authorDebian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Sat, 28 Feb 2026 17:55:04 +0000 (20:55 +0300)
committerDmitry Shachnev <mitya57@debian.org>
Sat, 28 Feb 2026 17:55:04 +0000 (20:55 +0300)
commit17ad854a750685a01ce9bda31873a2fc4232da62
treeb47f3afa046cb964fd68fdd4b069bb66f2def430
parent18d1b31316fee205088cf805f92648754001164e
Revert "D-Bus system tray: properly check whether StatusNotifierHost available"

Origin: upstream, https://code.qt.io/cgit/qt/qtbase.git/commit/?id=447f3ade9a284d52
Last-Update: 2024-07-24

The original commit was made based on a KDE workaround for
libdbusmenu-qt crash, but Qt is not using libdbusmenu-qt, Qt is not
watching for StatusNotifierHost registration and Qt is not capable
to switch backends on the fly leading to tray support being
not detected on Plasma Wayland sessions and falling back to the poor
legacy protocol on X11.

Gbp-Pq: Name revert_statusnotifierhost_checking.diff
src/platformsupport/themes/genericunix/dbusmenu/qdbusmenuconnection.cpp
src/platformsupport/themes/genericunix/dbusmenu/qdbusmenuconnection_p.h
src/platformsupport/themes/genericunix/dbustray/qdbustrayicon.cpp
src/platformsupport/themes/genericunix/qgenericunixthemes.cpp